package top.as.sean.dao.dto.system;

import lombok.Data;
import org.aspectj.bridge.Message;

import javax.validation.constraints.NotNull;

/**
 * 用户登录
 *
 * @author: ArchieSean
 * @create: 2022/11/7
 */
@Data
public class LoginDto {
    /**
     * 账号
     */
    @NotNull(message = "账号不能为空")
    private String username;
    /**
     * 密码
     */
    @NotNull(message = "密码不能为空")
    private String password;

    /**
     * 验证码key
     */
    @NotNull(message = "验证码key不能为空")
    private String key;
    /**
     * 验证码
     */
    @NotNull(message = "验证码不能为空")
    private String code;
}
